home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / input < prev    next >
Encoding:
Text File  |  2001-03-21  |  748 b   |  28 lines

  1. Synopsis:
  2.    on [<modes>]input [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever a command is entered on the input line,
  6.    or when text is sent to a channel or query.
  7.  
  8.    This is a very powerful mechanism of the client.  Used intelligently,
  9.    it permits a very fine degree of control over the text entered on the
  10.    input line.  Used carelessly, and it can easily disable the client.
  11.    Use with caution.
  12.  
  13.    If a silent hook is set, one can use a loaded script to do preprocessing
  14.    of the input line.
  15.  
  16. Parameters:
  17.    $0-   text of input line entered
  18.  
  19. Examples:
  20.    To emulate the INPUT_ALIASES setting:
  21.       on ^input "*" {
  22.          eval $*
  23.       }
  24.  
  25. See Also:
  26.    set(4) input_protection
  27.  
  28.